TeamA

id: task-273 title: Refactor search status: In Progress assignee:

  • '@codex' created_date: '2025-09-19 18:09' updated_date: '2025-09-22 20:39' labels:
  • core
  • search dependencies: []

Description

Refactor types and search to use a single Fuse-based core search that feeds all entry points (CLI, TUI, web). Replace legacy fields (e.g., body, acceptanceCriteria) with new names like rawContent and ensure every consumer goes through the shared store and search service. Add CLI search command with plain output and pre-filled interactive view support.

Acceptance Criteria

  • [x] #1 Task, document, and decision types use rawContent instead of body and remove deprecated fields.
  • [x] #2 Core search module returns SearchResult with tasks/documents/decisions using Fuse in memory (no fs access).
  • [x] #3 Shared local data store loads all content once and exposes unified search/filter API for browser, board, and task list.
  • [x] #4 Task list UI uses new search+filter API with search input + status/priority dropdowns.
  • [x] #5 CLI search command supports --plain for text output and opens task list with pre-filled search/filter when interactive.
Brodocs MVP